﻿using System;
using System.Linq;
using System.Text;
using SqlSugar;

namespace Insurance.Entity
{
    ///<summary>
    /// 电子凭证使用记录
    ///</summary>
    [SugarTable("INSU_VOUCHER")]
    public partial class InsuVoucher
    {
        public InsuVoucher()
        {
        }

        /// <summary>
        /// Desc:电子凭证使用记录ID
        /// Default:
        /// Nullable:False
        /// </summary>
        [SugarColumn(IsPrimaryKey = true)]
        public string VOUCHER_ID { get; set; }

        /// <summary>
        /// Desc:姓名
        /// Default:
        /// Nullable:True
        /// </summary>
        public string PAT_NAME { get; set; }

        /// <summary>
        /// Desc:身份证号
        /// Default:
        /// Nullable:True
        /// </summary>
        public string ID_NO { get; set; }

        /// <summary>
        /// Desc:性别
        /// Default:
        /// Nullable:True
        /// </summary>
        public string SEX { get; set; }

        /// <summary>
        /// Desc:卡号
        /// Default:
        /// Nullable:True
        /// </summary>
        public string CARD_NO { get; set; }

        /// <summary>
        /// Desc:卡识别码
        /// Default:
        /// Nullable:True
        /// </summary>
        public string CARD_ID { get; set; }

        /// <summary>
        /// Desc:电子凭证字符串
        /// Default:
        /// Nullable:True
        /// </summary>
        public string VOUCHER_STR { get; set; }

        /// <summary>
        /// Desc:险种类型
        /// Default:
        /// Nullable:True
        /// </summary>
        public string INSUTYPE { get; set; }

        /// <summary>
        /// Desc:个人编号
        /// Default:
        /// Nullable:True
        /// </summary>
        public string PSN_NO { get; set; }

        /// <summary>
        /// Desc:电子凭证刷码时间
        /// Default:
        /// Nullable:True
        /// </summary>
        public DateTime? INSU_DATE { get; set; }

        /// <summary>
        /// Desc:创建人
        /// Default:
        /// Nullable:True
        /// </summary>
        public string CREATE_BY { get; set; }

        /// <summary>
        /// Desc:创建时间
        /// Default:
        /// Nullable:True
        /// </summary>
        public DateTime? CREATE_TIME { get; set; }

        /// <summary>
        /// Desc:修改人
        /// Default:
        /// Nullable:True
        /// </summary>
        public string UPDATE_BY { get; set; }

        /// <summary>
        /// Desc:修改时间
        /// Default:
        /// Nullable:True
        /// </summary>
        public DateTime? UPDATE_TIME { get; set; }
    }
}